package com.mb.app.domain;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 短信记录
 * </p>
 *
 * @author liliping
 * @since 2019-04-20
 */
@TableName("mp_sms_log")
public class MpSmsLog implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	private Long id;

	/**
	 * 手机号码
	 */
	private String phone;

	/**
	 * 短信模板编号
	 */
	@TableField(value="tpl_id")
	private String tplId;

	/**
	 * 短信内容
	 */
	private String sms;

	/**
	 * 发送时间
	 */
	@TableField(value="create_time")
	private Date createTime;

	/**
	 * 短信Id
	 */
	@TableField(value="sms_id")
	private String smsId;

	/**
	 * 短信状态 0:已发送 1: 成功 -1：失败
	 */
	@TableField(value="sms_status")
	private String smsStatus;

	/**
	 * 失败原因
	 */
	private String reason;



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getTplId() {
		return tplId;
	}

	public void setTplId(String tplId) {
		this.tplId = tplId;
	}

	public String getSms() {
		return sms;
	}

	public void setSms(String sms) {
		this.sms = sms;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getSmsId() {
		return smsId;
	}

	public void setSmsId(String smsId) {
		this.smsId = smsId;
	}

	public String getSmsStatus() {
		return smsStatus;
	}

	public void setSmsStatus(String smsStatus) {
		this.smsStatus = smsStatus;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

}
